<%inherit file="/index.mako" />
<%include file="/home/right.mako"/>
<%def name="title()">Compagnie-Chrysalide - Accueil</%def>
<%
	def show_news(news_db):
		all_news = ''
		
		for news in news_db:
			tr = '<tr>'
			tr = tr + '<td class="middle_news">'
			tr = tr + '<div class="news_div">'
			tr = tr + '<h2>%s</h2>' % news.title
			tr = tr + '%s' % news.content
			tr = tr + '</div>'
			tr = tr + '</td>'
			tr = tr + '</tr>'
			all_news = all_news + tr

		return all_news
%>



<div id="news_content">
	<table cellspacing="0" cellpadding="0" border="0" id="news_article">
		<tbody>
			<tr>
				<td class='top_news'></td>
			</tr>
			
			 ${show_news(c.news) | n }
					
			<tr>
				<td class='bottom_news'></td>
			</tr>
		</tbody>
	</table>
</div>